﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entity.ProjectEnt;

namespace Logic.Map.Project
{
    public class CustomerAndThingsNameMap : EntityTypeConfiguration<CustomerAndThingsNameEntity>
    {
        public CustomerAndThingsNameMap()
        {
            this.ToTable("CustomerAndThingsName");
            this.HasKey(t => t.F_Id);
            Property(p => p.F_CreatorUserId).HasMaxLength(50);
            Property(p => p.F_LastModifyUserId).HasMaxLength(50);
            Property(p => p.F_DeleteUserId).HasMaxLength(50);
            
            Property(p => p.Name).HasMaxLength(50);  
            Property(p => p.Remark).HasMaxLength(300);
 
           
        }
    }
}
